﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Business_Objects;
namespace Data_Objects
{
    public interface IDiemDanhDao
    {
        IList<DiemDanh> GetDiemDanh();

      //  IList<DiemDanh> GetDiemDanh(string columnSort, string sortType);

        DiemDanh GetDiemDanhByID(string DiemDanhID);

        void InsertDiemDanh(DiemDanh DiemDanh);

        int UpdateDiemDanh(DiemDanh DiemDanh);

        int DeleteDiemDanh(DiemDanh DiemDanh);
        List<DiemDanh> GetDiemDanhBySchoolIdAndSchoolYear(string SchoolYearID, int schoolId);
        DiemDanh GetDiemDanhBySchoolIdAndSchoolYearAndStudentId(string SchoolYearID, int schoolId, string studentId);

        List<DiemDanh> GetBienLaiThuByClassIdAndSchoolSchoolYear(string schoolYearID, int schoolId, string classId);
    }
}
